package com.itheima.service;

import com.itheima.bean.OrderDetail;

import java.util.List;

public interface OrderDetailService {

    /**
     * 添加订单详情
     * @param orderDetail
     * @return
     */
    int add(OrderDetail orderDetail);

    /**
     * 前台查询历史订单
     * @param ordersId
     * @return
     */
    List<OrderDetail> userPage(Long ordersId);
}
